<template>
    <div class="parcel">
      <div class="start"  @click="goStart"></div>
      <div class="course">学习历程</div>
      <a class="relax" href="">放松一下</a>
    </div>
</template>

<script>
export default {
  name: 'Home',
  methods:{
    goStart(){
      this.$router.push('/Start');
    }
  }
}
</script>

<style scoped>
.parcel {
  margin-top: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-flow: column;
}

.start {
  width: 500px;
  height: 124px;
  background-color: lightcoral;
  background-image: url(~@/assets/images/开始学习2.png);
}

.course {
  width: 500px;
  height: 100px;
  font-size: 70px;
  text-align: center;
  background-color: lightblue;
}

.relax {
  font-size: 30px;
}
</style>
